package io.openmessaging;

/**
 * 记录 topicName 和 topicId 的对应关系
 */
public class Topic {
    public final String name;
    public final byte id;


    public Topic(String name, byte id) {
        this.name = name;
        this.id = id;
    }

    @Override
    public String toString() {
        return name + ":" + id;
    }
}
